/* 
 * File:   Interpolator.h
 * Author: root
 *
 * Created on October 27, 2015, 1:37 AM
 */

#ifndef INTERPOLATOR_H
#define	INTERPOLATOR_H

#include "RawData.h"

class Interpolator {
public:
    Interpolator* getInstance();
    RawData* get();
    void release();
    int update(const RawData *paraRaw);
    
private:
    Interpolator();
    
    Interpolator(const Interpolator& orig);
    virtual ~Interpolator();
    RawData raw[2];
    static Interpolator* instance;
};

#endif	/* INTERPOLATOR_H */

